package cn.xxliang.platapp.pojo.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;


@Data
@ApiModel("产品扩展表DTO")
@EqualsAndHashCode(callSuper = false)
public class ProductExtendInfoDto {
    @ApiModelProperty(value = "自定义字段名称", required = true)
    @NotNull(message = "自定义字段名称不能为空")
    @Size(max = 50, message = "自定义字段名称限制50字符，超出不展示")
    private String extendName;
    
    @ApiModelProperty(value = "自定义字段值", required = true)
    @NotNull(message = "自定义字段值不能为空")
    @Size(max = 200, message = "自定义字段值限制200字符，超出不展示")
    private String extendValue;
    
    @ApiModelProperty(value = "平台产品ID", required = true)
    @NotNull(message = "平台产品ID不能为空")
    private String platformProductId;
    
    //@ApiModelProperty(value = "创建时间")
    //private String createTime;
    
    //@ApiModelProperty(value = "更新时间")
    //private String updateTime;
    
    @ApiModelProperty(value = "产品扩展信息ID", required = true)
    @NotNull(message = "产品扩展信息ID不能为空")
    private Integer productExtendInfoId;
}
